package service;

import model.Manager;
import org.springframework.web.servlet.ModelAndView;

import java.util.List;

public interface IManagerService {
    public Manager login(Manager manager);

    public List<Manager> list (Manager manager);

    public int add(Manager manager);
    public int on(Manager manager);
    public int off(Manager manager);
    public ModelAndView totalCount(Manager manager);


}
